@extends('layouts.app')

@section('body')
    @component('components.alert')@endcomponent
    @if($socialite)
        @component('components.socialite',['user'=>$socialite])@endcomponent
    @endif
    @component('components.login-form')@endcomponent

    @if(!$socialite)
        <a href="{{route('auth.login','qq')}}" target="_self">QQ</a>
        <a href="{{route('auth.login','weibo')}}" target="_self">微博</a>
        <br/> <a href="{{route('auth.register')}}" target="_self">注册</a>
    @else
        <a href="{{route('auth.register')}}" target="_self">完善账号信息</a>
    @endif


@endsection
